package Sort.shellSort;

/**
 * @program: jvm
 * @description
 * @author: tkk fendoukaoziji
 * @create: 2019-05-05 16:19
 **/
public class shellSortTest {
    public static void main(String[] args) {
        int maxSize=15;
        ArraySh arr;
        arr=new ArraySh(maxSize);
        for (int j = 0; j < maxSize; j++) {
            long n=(int)(java.lang.Math.random()*99);
            arr.insert(n);
        }
        arr.display();
        arr.shellSort();
        arr.display();
    }

}
